﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Frogsoft.Permission.Consts
{
    public static class StaticPermissions
    {
        public static List<PermissionItem> PermissionList { get; set; }
        static StaticPermissions()
        {
            //系统模块权限
            PermissionList = new List<PermissionItem>();
            PermissionList.Add(new PermissionItem("system", "系统管理", "菜单", "0", ""));
            PermissionList.Add(new PermissionItem("system_permission", "权限管理", "菜单", "system", ""));
            PermissionList.Add(new PermissionItem("system_permission_user", "用户管理", "页面", "system_permission", "frogsoft/permission/role/user_list"));
            PermissionList.Add(new PermissionItem("system_permission_role", "角色管理", "页面", "system_permission", "frogsoft/permission/role/role_list"));
            //DFAC模块权限        
            PermissionList.Add(new PermissionItem("demo", "功能演示", "菜单", "0", ""));
            PermissionList.Add(new PermissionItem("demo_counter", "计数器", "页面", "demo", "counter"));
            PermissionList.Add(new PermissionItem("demo_weather", "天气", "页面", "demo", "weather"));
            



        }
    }
}
